package com.powwow.as3Core.utilites.bitwise
{
	public function isBitsSet(flags:uint, bits:uint):Boolean
	{
		if (flags == 0 || bits == 0)
			return false
		else if (flags == bits)
			return true
		else
			return ((flags & bits) == bits);
	}
}
